
#ifndef __PWM_MSP_INIT_H__
#define __PWM_MSP_INIT_H__

#include "stm32f1xx_hal.h"

extern TIM_HandleTypeDef Tim4Handle;
extern __IO uint16_t TIM4_cnt;

extern void pwm_gpio_init();
extern void pwm_timer_init();
extern void pwm_msp_init();
static void Error_Handler();
extern void TIM4_IRQHandler();

/*******************************************
 *          PWM MSP TEST
 ******************************************/

extern void pwm_test_gpio_init();
extern void pwm_test_gpio();

#endif
